package com.scpii.universal.pns.dao;

import java.util.List;
import java.util.Map;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.pns.entity.AppConfigs;

public interface AppConfigsDao extends BaseDao<AppConfigs, Long> {

	List<AppConfigs> getConfigs(Long appId);

	Map<String, String> getByKeys(Long appId, String[] keys);

	AppConfigs getByKey(Long appId, String key);

	List<AppConfigs> getAllConfigs(long appId);

	void delConfigs(String[] keys, Long appId);

}
